package com.ltkj.ticket.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 景区门票库存对象 tic_scenic_stock
 * 
 * @author ruoyi
 * @date 2023-08-30
 */
@ApiModel(value = "景区门票库存")
public class TicScenicStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景区门票库存ID */
    @ApiModelProperty("景区门票库存ID")
    private Long scenicStockId;

    /** 景区门票ID */
    @Excel(name = "景区门票ID")
    @ApiModelProperty("景区门票ID")
    private Long scenicId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("日期")
    private Date scenicStockDate;

    /** 总库存 */
    @Excel(name = "总库存")
    @ApiModelProperty("总库存")
    private Long scenicStockCount;

    /** 剩余库存 */
    @Excel(name = "剩余库存")
    @ApiModelProperty("剩余库存")
    private Long scenicStockResidue;

    /** 数据状态 */
    @Excel(name = "数据状态")
    @ApiModelProperty("数据状态")
    private String isDel;

    /** 门票名称 */
    @Excel(name = "门票名称")
    @ApiModelProperty("门票名称")
    private String scenicName;

    public void setScenicStockId(Long scenicStockId) 
    {
        this.scenicStockId = scenicStockId;
    }

    public Long getScenicStockId() 
    {
        return scenicStockId;
    }
    public void setScenicId(Long scenicId) 
    {
        this.scenicId = scenicId;
    }

    public Long getScenicId() 
    {
        return scenicId;
    }
    public void setScenicStockDate(Date scenicStockDate) 
    {
        this.scenicStockDate = scenicStockDate;
    }

    public Date getScenicStockDate() 
    {
        return scenicStockDate;
    }
    public void setScenicStockCount(Long scenicStockCount) 
    {
        this.scenicStockCount = scenicStockCount;
    }

    public Long getScenicStockCount() 
    {
        return scenicStockCount;
    }
    public void setScenicStockResidue(Long scenicStockResidue) 
    {
        this.scenicStockResidue = scenicStockResidue;
    }

    public Long getScenicStockResidue() 
    {
        return scenicStockResidue;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setScenicName(String scenicName) 
    {
        this.scenicName = scenicName;
    }

    public String getScenicName() 
    {
        return scenicName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenicStockId", getScenicStockId())
            .append("scenicId", getScenicId())
            .append("scenicStockDate", getScenicStockDate())
            .append("scenicStockCount", getScenicStockCount())
            .append("scenicStockResidue", getScenicStockResidue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("scenicName", getScenicName())
            .toString();
    }
}
